package com.youxin.busfoundation.enums;

/**
 * 搜索类型
 * @author yingde.cao
 *
 */
public enum SearchType {
	
	CompanyType(0),
	Resource(1),
	/**
	 * 高级搜索
	 */
	CompanyProType(2)
	;
	public int getValue() {
		return value;
	}
	private int value;
	private SearchType(int value) {
		this.value = value;
	}
	
	public static SearchType valueOf(int val)
	{			
		for(SearchType m : SearchType.values()) 
		{
			if(val==m.getValue())
				return m;
	    }
		return null;
	}
	
	
}
